/*
 * @Author: your name
 * @Date: 2021-04-27 09:53:45
 * @LastEditTime: 2021-04-27 09:55:46
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \webpackstudy\src\until\tools.js
 */

function trimSpace(str) {
    return str.replace(/\s+/g,'');
}

function digitalization(str) {
    return Number(str) || 0;
}


export {
    trimSpace,
    digitalization,
}